//
//  Order.m
//  DPGJ
//
//  Created by ZhuoLaiQiang@Gmail.com on 11-11-19.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import "Order.h"

@implementation Order

//此订单有几个兄弟订单（兄弟订单：就是一个交易里包含的所有的子订单）
@synthesize numOfBrotherOrders;

@synthesize title           =       _title;
@synthesize price           =       _price;
@synthesize num             =       _num;
@synthesize num_iid         =       _num_iid;
@synthesize sku_id          =       _sku_id;
@synthesize refund_status   =       _refund_status;
@synthesize status          =       _status;
@synthesize total_fee       =       _total_fee;
@synthesize payment         =       _payment;
@synthesize adjust_fee      =       _adjust_fee;
@synthesize pic_path        =       _pic_path;
@synthesize created         =       _created;
@synthesize tid             =       _tid;
@synthesize post_fee        =       _post_fee;
@synthesize oid             =       _oid;


- (void)dealloc 
{
    LF_RELEASE_SAFELY(_title);
    LF_RELEASE_SAFELY(_price);
    LF_RELEASE_SAFELY(_num);
    LF_RELEASE_SAFELY(_num_iid);
    LF_RELEASE_SAFELY(_sku_id);
    LF_RELEASE_SAFELY(_refund_status);
    LF_RELEASE_SAFELY(_status);
    LF_RELEASE_SAFELY(_total_fee);
    LF_RELEASE_SAFELY(_payment);
    LF_RELEASE_SAFELY(_adjust_fee);
    LF_RELEASE_SAFELY(_pic_path);
    LF_RELEASE_SAFELY(_created);
    LF_RELEASE_SAFELY(_tid);
    LF_RELEASE_SAFELY(_post_fee);
    LF_RELEASE_SAFELY(_oid);
    
    [super dealloc];
}

@end
